<?php
/**
 * ClassName: PerformanceLogModel
 * Description: 医生治疗服务绩效记录model
 * @Author 周昌
 * @Create 2024/1/18 10:08
 */

namespace model;


class PerformanceLogModel extends BaseModel
{
    protected $name='performance_log';
    //时间获取器
    public function getAddTimeAttr($value){
        if(!empty($value)&& is_integer($value)){
            return date('Y-m-d H:i:s', $value);
        }else{
            return $value;
        }

    }

}